# 需求: 实现扑克牌游戏

import time

# 扑克牌的基础数据
POKER_DICT = {
    'number': ['3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K', 'A', '2'],
    'type': ["♠", "♥", "♣", "♦"]

}


class Poker:
    def __init__(self, poker_number: int = 1, ):
        self.poker_number = poker_number
        self.poker_list = []

    def build(self):
        # 生成扑克牌
        # 定义一个poker数字
        for number in POKER_DICT['number']:
            for type in POKER_DICT['type']:
                self.poker_list.append(type + number)
        print(self.poker_list)

    def start(self):
        print("正在启动游戏......")
        time.sleep(3)
        print("游戏启动成功")
        while True:
            print("=" * 30 + "poker GAME START" + "=" * 30)
            input_type = input("开始游戏 【1-生成牌 2-打印牌 3-发牌 4-洗牌 5-整理牌 6-退出】:")
            if input_type == '1':
                print("正在生成扑克牌......")
                time.sleep(3)
                self.build()
                print("生成扑克牌完成")
            elif input_type == '2':
                pass
            elif input_type == '3':
                pass
            elif input_type == '4':
                pass
            elif input_type == '5':
                pass
            elif input_type == '6':
                pass
            else:
                print("指令错误!!!")


if __name__ == '__main__':
    obj = Poker()
